import copy
ll = [9,10]
l1 = [1,2,3,4,5,ll]
# 浅拷贝一 拷贝对象.copy()
l2 = l1.copy()
# 浅拷贝二  切片[:]
l3 = l1[:]
# 浅拷贝三  导入copy模块
l4 = copy.copy(l1)

print(l1,id(l1))
print(l2,id(l2))
print(l3,id(l3))
print(l4,id(l4))
print("-" * 30)
l1[-1][-1] = 111

print(l1,id(l1))
print(l2,id(l2))
print(l3,id(l3))
print(l4,id(l4))